{% extends "base_generic.html" %}

{% block content %}
  <h1>我的借阅</h1>
  {% if bookinstance_list %}
    <ul>
      {% for bookinst in bookinstance_list %}
        <li>{{ bookinst.book.title }} (归还日期: {{ bookinst.due_back }})</li>
      {% endfor %}
    </ul>
  {% else %}
    <p>你当前没有借阅任何书籍。</p>
  {% endif %}
{% endblock %}
